//
//  CouponViewController.h
//  TerritoryShopkeeper
//
//  Created by 李小龙 on 2017/12/4.
//  Copyright © 2017年 ZDQK. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CouponModel.h"

typedef NS_ENUM(NSUInteger, CouponFromType) {
    CouponFromTypeMine,
    CouponFromTypeShopcartOrder,
    CouponFromTypeGoodsDetail,
    CouponFromTypeGoodsOrder,
};
typedef void(^CouponChooseBlock)(CouponModel *model);

@interface CouponViewController : BaseViewController

@property (nonatomic, copy) CouponChooseBlock block;
@property (nonatomic, assign) CouponFromType type;

@property (nonatomic, copy) NSString *ids;    // 商品传gcid 购物车传scids
@property (nonatomic, copy) NSString *number; // CouponFromTypeGoodsDetail 传

@end
